﻿namespace BehaviorModel.Block.RandomGenerator
{
    /// <summary>
    /// Computation strategy of generator block.
    /// </summary>
    public interface IRandomGenerator
    {
        /// <summary>
        /// Returns next generator value by previous one.
        /// </summary>
        /// <param name="prev">Previous value</param>
        /// <returns>Next value</returns>
        double GetNext(double prev);

        /// <summary>
        /// Returns next generator value.
        /// </summary>
        /// <returns>Next value</returns>
        double GetNext();
    }
}
